package jp.sourceforge.akjrcp.audiotools;


import jp.sourceforge.akjrcp.akj_betas.Akj_betasPlugin;
import jp.sourceforge.akjrcp.audio.wavmix.WavJoinerViewer;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class AudioToolsPerspective implements IPerspectiveFactory {
	public static final String ID = AudioToolsPerspective.class.getName();
	
	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		
		layout.addView(WaveFormViewer.ID, layout.LEFT, 1.0f, editorArea);
		//layout.addView(VsqToTxtViewer.ID, layout.LEFT, 1.0f, editorArea);
		//layout.addView(WavToVocaloidMidiViewer.ID, layout.LEFT, 1.0f, editorArea);
	//	layout.addView(WavJoinerViewer.ID, layout.LEFT, 1.0f, editorArea);
		Akj_betasPlugin.addPerspectiveShortcut(layout);
	}

}
